<?php
echo ! empty($h2_title) ? '<h2>'. $h2_title .'</h2>' : '' ;
echo ! empty($message) ? '<p class="message">'. $message .'</p>' : '' ;

$flashmessage = $this->session->flashdata('message');
echo ! empty($flashmessage) ? '<p class="message">'. $flashmessage .'</p>' : '';
?>

<form name="absen_form" method="post" action="<?php echo $action; ?>">
    <p>
    	<label for="nama_bobot">Jenis Periode :</label>
    	<input type="radio" name="periode" value="1" />1 Bulanan
        <input type="radio" name="periode" value="3" />3 Bulanan
        <input type="radio" name="periode" value="6" />6 Bulanan
        <input type="radio" name="periode" value="12" />12 Bulanan
    </p>
    <?php echo form_error('periode', '<p class="field_error">', '</p>');?>
    <p>
    	<input type="submit" name="submit" id="submit" value=" Selanjutnya " /> 
    </p>
</form>

<?php
if (! empty($link)) {
	echo '<p class="bottom_link">';
	foreach($link as $links){
		echo $links .  '';
	}
	echo '</p>';
}
?>